﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Example41_C_Sharp
{
    class Rectangle
    {
        int x, y;
        public void setValues(int a, int b)
        {
            x = a;
            y = b;
        }
        public int area()
        {
            return (x * y);
        }
    }
}
